package com.gperp.common;

/*
 * 解决get方式提交中文乱码
 * 使用：把乱码的字符调用getGetString方法处理拿到返回值
 */
public class StringUtils {
	public static String getGetString(String str){
		String s = null;
		try {
			s = new String(str.getBytes("ISO8859-1"),"UTF-8");
		} catch (Exception e) {
			System.out.println("字符乱码转换失败");
			e.printStackTrace();
		}
		return s;
	}
}
